import request from "@/utils/request"

export function queryPageHot(data) {
  return request({
    url: "/CHotRecommend/queryPage",
    method: "POST",
    data: data
  })
}
export function updateHot(data) {
  return request({
    url: "/CHotRecommend/update",
    method: "POST",
    data: data
  })
}
export function setCHotRecommend(data) {
  return request({
    url: "/CHotRecommend/setCHotRecommend",
    method: "POST",
    data: data
  })
}

export function queryListHot(data) {
  return request({
    url: "/CProduct/queryList",
    method: "GET",
    params: data
  })
}

export function queryOneHot(data) {
  return request({
    url: "/CHotRecommend/queryOne",
    method: "GET",
    params: data
  })
}
